package cp4.work.data;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class GoodsData {
    // 所有的商品
    public static Map<Integer, Goods> goodsList = new HashMap<>();

    static {
        goodsList.put(1, new Goods(1, "新飞智能预约电饭煲", 208.00));
        goodsList.put(2, new Goods(2, "七分九分长裤", 28.60));
        goodsList.put(3, new Goods(3, "甜曲紫米面包550g", 18.00));
        goodsList.put(4, new Goods(4, "兰月星本色卷纸12卷", 18.00));
    }
}
